package com.work.dao;

import com.work.bean.Teacher;

import java.util.List;

public interface TeacherDao {
    Teacher queryTeacherById(Integer id);

    List<Teacher> queryTeacher();

    Teacher queryTeacherByUId(Integer uId);

    Teacher query();

    int saveTeacher(Teacher teacher);

    int updateTeacher(Teacher teacher);

    int updateTeacherPwdById(Teacher teacher);

    int deleteTeacher(Integer id);
}
